import { createRouter, createWebHistory } from 'vue-router'
import ChatView from '../views/ChatView.vue'

const routes = [
    {
        path: '/',
        name: 'chat',
        component: ChatView
    },
    // 可以添加更多路由
]

const router = createRouter({
    history: createWebHistory(import.meta.env.BASE_URL),
    routes
})

export default router